package com.xuecheng.content.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 指定读取的配置文件父节点
 * 对象中属性名和配置文件子属性一致
 */
@ConfigurationProperties(prefix = "minio")
@Configuration
@Data
public class MinioProperties {
    private String accessKey;
    private String secretKey;
    private String bucket;
    private String endpoint;
    private String domain;
}
